<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">

document.write("<table border='1' bordercolor='blue'>");
//循环行 9
for(var i=1;i<=9;i++) {

	document.write("<tr>");
	//循环列
	for(var j=1;j<=i;j++) {
		document.write("<td>");
		//运算
		document.write(j+"*"+i+"="+i*j);
		
		document.write("</td>");
	}
	//document.write("<br/>");
	document.write("</tr>");
}
document.write("</table>");

</script>
</body>
</html>